:root { color-scheme: light; }
* { box-sizing: border-box; }
html, body, #app { height: 100%; margin: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; color: #1f2328; background: #fff; }

table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 10px 12px; border-bottom: 1px solid #eee; text-align: left; font-size: 14px; }
th { background: #fafafa; user-select: none; }
tr:hover td { background: #fcfcff; }

.btn { background: #f4f5f7; color: #1f2328; border: 1px solid #e5e7eb; padding: 6px 12px; border-radius: 6px; cursor: pointer; }
.btn:hover { background: #eef0f3; }
.btn.danger { background: #ffeaea; color: #c22; border-color: #ffd0d0; }
.btn.danger:hover { background: #ffdede; }

.input { height: 34px; padding: 0 10px; border: 1px solid #d0d7de; border-radius: 6px; outline: none; }
.input:focus { border-color: #3a89ff; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); }

.select { height: 34px; padding: 0 10px; border: 1px solid #d0d7de; border-radius: 6px; background: #fff; }

.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; z-index: 50; }
.modal { width: 520px; max-width: 90vw; background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.15); overflow: hidden; }
.modal-header { padding: 14px 16px; border-bottom: 1px solid #eee; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.modal-body { padding: 16px; }
.modal-footer { padding: 12px 16px; border-top: 1px solid #eee; display: flex; justify-content: flex-end; gap: 10px; }

.form-row { display: flex; gap: 12px; margin-bottom: 12px; }
.form-row label { width: 110px; display: inline-flex; align-items: center; color: #606266; }
.form-row .field { flex: 1; display: flex; }

.badge { display: inline-block; padding: 2px 6px; border-radius: 4px; font-size: 12px; background: #f6f8fa; border: 1px solid #e5e7eb; }

